package com.wang.jmonkey.common.model.enums;

/**
 * @Description 数据来源
 * @Author HeJiawang
 * @Date 2021/7/24 14:40
 */
public enum DataSourcesEnum implements BaseEnum<Integer> {

    CREATE(0, "自己创建"),
    OUT(1, "外部系统同步数据")
    ;

    private int value;
    private String desc;

    DataSourcesEnum(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public String getDesc() {
        return this.desc;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }
}
